home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 102 / CD-ROM 102.iso / aplic / 2sync / 2SyncSetup.exe / ssave / scripts / frame_1 / DoAction.as
Encoding:
Text File  |  2002-03-20  |  647 b   |  20 lines

  1. function back_next()
  2. {
  3.    this.count = this.count + 1;
  4.    var name = "back" + this.count;
  5.    this.base.attachMovie("anim",name,this.count);
  6.    this.base[name].holder.loadMovie(_level0.ch_dir + "/" + _level0.data["ch_name" + _level0.data.ch_active] + "/background" + this.num);
  7.    this.num = this.num + 1;
  8.    if(eval("_level0/data:ch_bg_count") < this.num)
  9.    {
  10.       this.num = 1;
  11.    }
  12.    if(this.base["back" + (this.count - 2)] ne "")
  13.    {
  14.       this.base["back" + (this.count - 2)].removeMovieClip();
  15.    }
  16. }
  17. _level0.lib.RotateoverRide = true;
  18. back = {num:_level0.data.ch_bg_active,base:this.clip,next:back_next};
  19. back.next();
  20.